#include "YXJSON.h"

int yxJSONGetObjectIntItem(yxObject *obj, const char *key) {
    return yxJSONGetObjectItem(obj, key)->valueint;
}

double yxJSONGetObjectDoubleItem(yxObject *obj, const char *key) {
    return yxJSONGetObjectItem(obj, key)->valuedouble;
}

char *yxJSONGetObjectStringItem(yxObject *obj, const char *key) {
    return yxJSONGetObjectItem(obj, key)->valuestring;
}